import React, { PropTypes } from 'react'

const Link = ({ active, children, onClick }) => {

  return (
    <li>
      <a className={active ? 'selected' : ''}
		 href="#"
         onClick={e => {
           e.preventDefault()
           onClick()
         }}
      >
        {children}
      </a>
    </li>
  )
}
export default Link
